#include "CPosition.h"

/*static*/ 
comp_id_type CPosition::mFamilyID = "CPosition";
comp_id_type CPosition::mComponentID = "CPosition";

comp_id_type CPositionTemplate::mFamilyID = "CPosition";
comp_id_type CPositionTemplate::mComponentID = "CPosition";
/*static*/ 

//Ogre::Vector3 CPosition::Position = Ogre::Vector3::ZERO;
//Ogre::Vector3 CPositionTemplate::Position = Ogre::Vector3::ZERO;

CPositionTemplate::CPositionTemplate() {

}
CPositionTemplate::~CPositionTemplate() {

}

GameComponent *CPositionTemplate::makeComponent() {
	CPosition *comp = new CPosition(this);
	return comp;
}

CPosition::CPosition()
{
	//Position = Vector3(600,300,280);
	Position = Vector3(0,0,0);
}
CPosition::CPosition(Ogre::Vector3 vec)
{
	Position = vec;
}
CPosition::CPosition(CPositionTemplate *templ)
{

}
CPosition::~CPosition()
{

}

void CPosition::update() {

}

void CPosition::setup() {
	
}
